package com.vast.admin.entity.dto;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;

/**
 * 合同信息采集实体
 */
@Data
public class ContractDetailDto {

    @ApiModelProperty("合同id")
    private Long contractId;

    @ApiModelProperty("模板id")
    @NotNull
    private Long templeteId;

    @ApiModelProperty("合同详情id 为空时新增 不为空时编辑")
    private Long contractDetailId;

    @ApiModelProperty("合同参数")
    @NotNull
    private Map<String, String> param;

    @ApiModelProperty("签署者")
    private List<ContractSignerDto> contractSigners;

    @ApiModelProperty("表单实体")
    private JSONArray formItems;

}
